package com.ssm;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.KeyEvent;

public class Intro extends Activity {
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        
        
        mHandler.sendEmptyMessage(0);
	}
	
	public boolean onKeyDown(int keyCode, KeyEvent event) {
			
		if(keyCode == KeyEvent.KEYCODE_BACK)
			return true;
		
		return true;
	}
	
	Handler mHandler = new Handler(){
		public void handleMessage(Message msg){

			mHandler.postDelayed(new Runnable() {  
	   	   		public void run() {  
   	 				Intent intent = new Intent(Intro.this, IdeaBoxesActivity.class);        		
   	 				startActivity(intent);
   	 				finish();
	   	 		} 
	   	 	}, 1000);
						
		}
	};

}
